Skip to content

Conversation

@mahibi
Copy link
Collaborator

@mahibi mahibi commented Sep 24, 2025

WIP

Simplify classes around call architecture e.g. by replacing classic observer patterns with kotlin flows.

... I just wanted to implement #1397 but came to the conclusion that the architecture should be simplified beforehand!

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 TODO

  • double check that no call features are broken ;)

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

@mahibi mahibi added this to the 23.0.0 milestone Sep 24, 2025
@mahibi mahibi self-assigned this Sep 24, 2025
@mahibi mahibi added the 2. developing Work in progress label Sep 24, 2025
@mahibi mahibi force-pushed the noid/simplifyCallArchitcture branch 2 times, most recently from 02d5796 to b3e4179 Compare October 17, 2025 13:34
@mahibi mahibi changed the title Noid/simplify call architcture simplify call architecture + enlarge screenshares Oct 17, 2025
@mahibi mahibi force-pushed the noid/simplifyCallArchitcture branch from b3e4179 to 540b336 Compare October 22, 2025 15:12
was unused..

Signed-off-by: Marcel Hibbe <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
Classes related to calls are build with classic observer patterns. This is quite hard to debug and to keep an overview.

This PR tries to simplify the architecture, e.g. by replacing observer patterns with kotlin flows.

Signed-off-by: Marcel Hibbe <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
just as temporary solution?

Signed-off-by: Marcel Hibbe <[email protected]>
@mahibi mahibi force-pushed the noid/simplifyCallArchitcture branch from 540b336 to 17424b4 Compare October 27, 2025 14:22
@github-actions
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/5402.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@github-actions
Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings99100
Errors00

SpotBugs

CategoryBaseNew
Bad practice66
Correctness1111
Dodgy code6262
Internationalization33
Malicious code vulnerability33
Performance44
Security11
Total9090

Lint increased!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants